<div>
	<div class="header">
		<a href="javascript:Global.backHome();" class="btn btnleft">返回</a>
		<h1>{{headerName}}</h1>
		<a href="javascript:pageload{{identify}}();" class="btn btnright">刷新</a>
	</div>
	<div class="content nobottom">
		<div class="padding-top-sm" style="padding:6px;overflow-x:hidden;">
			<ul class="list details" id="listassign{{identify}}"></ul>
		</div>
	</div>
	<script type="text/javascript">
	function pageload{{identify}}() {
		Global.loading();
		$.ajax({
			type: 'GET',
	    	url: GLOBAL_CONTEXT_PATH + '/purchase/itemJsonDetails.html?purchase.id={{this.id}}',
	    	dataType: 'json',
	    	crossDomain: true,
	    	processData: true,
	    	success: function (data){
	    		data.identify = new Date().getTime();
				$('#listassign{{identify}}').html(Global.loadFragment('purchaseitems', data));
	    		Global.loaded();
	    	},
	    	error:function(msg) {
	    		Global.loaded();
	    		if (!app.checkConnection()) {
	    			Global.backHome();
	    		}
	    	}
		});
	}
	pageload{{identify}}();
	<{{!}}/script>
</div>